#!/bin/sh
pid=`ps -ef|grep teamin-circle|grep -v grep|awk '{print $2}'`
if [ -n "$pid" ] 
then
{
	echo "======kill process====="
	echo $pid
	kill -9 $pid
}
fi 
echo "======start process======"
nohup java -Dserver.port=1234 -jar ./target/teamin-circle.jar > ./teamin_access.log 2> ./teamin_error.log &
